package com.sunmnet.auto.spring.mvc.baen;

public class FieldSturcture {
	
	/** 字段名  */
	private String name;
	
	/** 属性名称  */
	private String propertyName;
	
	/** get set 方法使用的名称  */
	private String methodName;
	
	/** java属性类型  */
	private String type;
	
	/** 字段类型  */
	private String colType;
	
	/** 字段说明  */
	private String comment;
	
	/** 字段长度   */
	private String length;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return new org.apache.commons.lang3.builder.ReflectionToStringBuilder(
				this,
				org.apache.commons.lang3.builder.ToStringStyle.MULTI_LINE_STYLE)
				.toString();
	}

	/**
	 * propertyName
	 * @return the propertyName
	 */
	public String getPropertyName() {
		return propertyName;
	}

	/**
	 * propertyName
	 * @param propertyName the propertyName to set
	 */
	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	/**
	 * methodName
	 * @return the methodName
	 */
	public String getMethodName() {
		return methodName;
	}

	/**
	 * methodName
	 * @param methodName the methodName to set
	 */
	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	/**
	 * comment
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * comment
	 * @param comment the comment to set
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}

	/**
	 * length
	 * @return the length
	 */
	public String getLength() {
		return length;
	}

	/**
	 * length
	 * @param length the length to set
	 */
	public void setLength(String length) {
		this.length = length;
	}

	/**
	 * colType
	 * @return the colType
	 */
	public String getColType() {
		return colType;
	}

	/**
	 * colType
	 * @param colType the colType to set
	 */
	public void setColType(String colType) {
		this.colType = colType;
	}

}
